package test.dao.model.sql_review.rule;

public enum SuggestRule {

    full_scan(Level.CRITICAL),
    field_operation(Level.BLOCKER),
    implicit_type_conversion(Level.BLOCKER),
    null_comparison(Level.BLOCKER),
    limit_no_order(Level.MAJOR),
    select_all_columns_rule(Level.MAJOR),
    multi_join_rule(Level.CRITICAL),
    having_to_where_rule(Level.CRITICAL),
    deep_limit_rule(Level.CRITICAL),
    MULTIPLE_UPDATE_DELETE(Level.CRITICAL)

    ;
    Level level;

    SuggestRule(Level level) {
        this.level = level;
    }

    public static enum Level {
        BLOCKER,
        CRITICAL,
        MAJOR,
        MINOR;
    }

}